home *** CD-ROM | disk | FTP | other *** search
- trace(0)
- :start
- @c=1
- typecr("Select the CompuSrv Record ID...")
- selpbk(default)
- select(CompuSrv)
- if ( @mode <> 1 ) @mode = 1 { set it to call mode }
- twait(1,"sec")
- docomm
-
- :loop1
- twait(2,"sec");
- if ( @conn = 0 ) goto :abort { abort if disconnected }
- if ( @conn = 1 ) goto :done { continue on if connected }
- poscur(1,9)
- goto :loop1
-
- :done
- { Autologon file for CompuServ Network }
- { Replace x's and y's with your own ID }
- { and password }
-
- twait(1, "sec") { wait for 1 second }
- "$03" { send Cntl-C character }
- cwait("ID:") { wait until 'ID:' string received }
- "xxxxx,xxxx$0d"
- { "xxxxx,xxx$0d" } { send login id followed by carriage return }
- cwait("word:") { wait for pass'word:' prompt }
- "yyyyyyy/yyyyy$0d"
- { "yyyyy/yyyyyy$0d" } { send password followed by carriage return }
-
- :abort
- exit
-